<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Set training parameters</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="svm.getoptions.html">SVM::getOptions</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="svm.train.html">SVM::train</a></div>
 <div class="up"><a href="class.svm.html">SVM</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="svm.setoptions" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SVM::setOptions</h1>
  <p class="verinfo">(PECL svm &gt;= 0.1.0)</p><p class="refpurpose"><span class="refname">SVM::setOptions</span> &mdash; <span class="dc-title">Set training parameters</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-svm.setoptions-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>SVM::setOptions</strong></span>
    ( <span class="methodparam"><span class="type">array</span> <code class="parameter">$params</code></span>
   )</div>

  <p class="para rdfs-comment">
   Set one or more training parameters.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-svm.setoptions-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">params</code></em></dt>

     <dd>

      <p class="para">
       An array of training parameters, keyed on the SVM constants. 
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-svm.setoptions-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Return true on success, throws SVMException on error.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="svm.getoptions.html">SVM::getOptions</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="svm.train.html">SVM::train</a></div>
 <div class="up"><a href="class.svm.html">SVM</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
